<template>
  <div>
    <el-result title="404" sub-title="你访问的页面不存在">
      <template #icon>
        <el-image
            src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png"
        />
      </template>
      <template #extra>
        <el-button type="primary" @click="toHome">返回首页</el-button>
      </template>
    </el-result>
  </div>
</template>

<script setup>
import router from "@/router";
function toHome() {
  router.push('/home')
}
</script>

<style scoped>

</style>
